<template>
    <div class="box">
        <van-submit-bar :price="3050" button-text="结算" @submit="onSubmit">
            <van-checkbox>全选</van-checkbox>
        </van-submit-bar>
    </div>
</template>

<script setup>
import router from '@/router';

import _ from "lodash"

const onSubmit = _.debounce(() => {
    router.push("/order")
    // console.log(123)
}, 300)

</script>

<style lang="scss" scoped></style>